package cc.comac.mom.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipBenchmarkBean;
import cc.comac.mom.bean.EquipBenchmarkItem;
import cc.comac.mom.bean.EquipBenchmarkItemBean;
import cc.comac.mom.util.ResultBean;
@FeignClient(name ="mom-equipment-mgmt-srv")
public interface EquipBenchmarkItemService {
	
	@RequestMapping(value = "/p/cs/EquipBenchmarkItemService/saveBatch",method = RequestMethod.POST)
	ResultBean saveBatch(@RequestBody EquipBenchmarkBean obj);
	
	@RequestMapping(value = "/p/cs/EquipBenchmarkItemService/deleteBatch",method = RequestMethod.POST)
	ResultBean deleteBatch(@RequestBody EquipBenchmarkItemBean obj);
	
	@RequestMapping(value = "/p/cs/EquipBenchmarkItemService/moveUp",method = RequestMethod.POST)
	ResultBean moveUp(@RequestBody EquipBenchmarkItem obj);
	
	@RequestMapping(value = "/p/cs/EquipBenchmarkItemService/moveDown",method = RequestMethod.POST)
	ResultBean moveDown(@RequestBody EquipBenchmarkItem obj);
	
	@RequestMapping(value = "/p/cs/EquipBenchmarkItemService/getById",method = RequestMethod.POST)
	EquipBenchmarkItem getById(@RequestBody EquipBenchmarkItem obj);
	
	@RequestMapping(value = "/p/cs/EquipBenchmarkItemService/selectByCondition",method = RequestMethod.POST)
	EquipBenchmarkItemBean selectByCondition(@RequestBody EquipBenchmarkItem obj);
	
}
